package com.zzx.threekingdom.card;

import com.zzx.threekingdom.card.Pattern.Color;
import com.zzx.threekingdom.card.Pattern.Points;
import com.zzx.threekingdom.resmanager.ResManager;

public class EquipmentCard extends PatternCard 
{
    public enum EquipmentCardType
    {
        weapon, armor, addhorse, reducehorse
    }
    public int mAtkRange = 0;
    
    public EquipmentCardType mEquipmentCardType;
    
    public EquipmentCard(EquipmentCardType type, Color color, Points points, String name)
    {
        this(type, color, points, name, 0);
    }
    
    public EquipmentCard(EquipmentCardType type, Color color, Points points, String name, int atkRange)
    {
        super(color, points);
        mEquipmentCardType = type;
        setTextAndMap(name);
        mAtkRange = atkRange;
    }
    
    public EquipmentCardType getType() { return mEquipmentCardType; }
    public int getAtkRange() { return mAtkRange; }

}
